-
-
Notifications
You must be signed in to change notification settings - Fork 404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): update dependency watchexec to v2 #962
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
renovate
bot
force-pushed
the
renovate/watchexec-2.x
branch
from
April 29, 2024 04:12
3ac47b7
to
c59cf48
Compare
renovate
bot
force-pushed
the
renovate/watchexec-2.x
branch
from
May 1, 2024 03:34
c59cf48
to
f78723e
Compare
DennisRasey
pushed a commit
to DennisRasey/forgejo
that referenced
this pull request
Jan 6, 2025
…6477) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/alecthomas/chroma/v2](https://github.com/alecthomas/chroma) | require | minor | `v2.14.0` -> `v2.15.0` | --- ### Release Notes <details> <summary>alecthomas/chroma (github.com/alecthomas/chroma/v2)</summary> ### [`v2.15.0`](https://github.com/alecthomas/chroma/releases/tag/v2.15.0) [Compare Source](alecthomas/chroma@v2.14.0...v2.15.0) #### What's Changed - AQL: Add builtin functions introduced in v3.12 by [@​Simran-B](https://github.com/Simran-B) in alecthomas/chroma#968 - chore(styles): add evergarden inspired style by [@​comfysage](https://github.com/comfysage) in alecthomas/chroma#970 - chore(deps): update dependency svu to v2 by [@​renovate](https://github.com/renovate) in alecthomas/chroma#971 - chore(deps): update dependency watchexec to v2 by [@​renovate](https://github.com/renovate) in alecthomas/chroma#962 - chore(deps): update all non-major dependencies by [@​renovate](https://github.com/renovate) in alecthomas/chroma#955 - styles: Fix Gleam alias by [@​jmooring](https://github.com/jmooring) in alecthomas/chroma#973 - chore(deps): update all non-major dependencies by [@​renovate](https://github.com/renovate) in alecthomas/chroma#974 - chore(deps): update dependency python3 to v3.12.3 by [@​renovate](https://github.com/renovate) in alecthomas/chroma#976 - added the nordic theme via chroma/styles/nordic.xml by [@​avih7531](https://github.com/avih7531) in alecthomas/chroma#977 - Update the Materialize lexer by [@​arusahni](https://github.com/arusahni) in alecthomas/chroma#978 - feat(lexers/hare): add done keyword by [@​wackbyte](https://github.com/wackbyte) in alecthomas/chroma#979 - pygments2chroma: escape regex.words by [@​oliverpool](https://github.com/oliverpool) in alecthomas/chroma#982 - chore(deps): update all non-major dependencies by [@​renovate](https://github.com/renovate) in alecthomas/chroma#981 - Add JSONata Lexer by [@​DevDimov](https://github.com/DevDimov) in alecthomas/chroma#983 - Go lexer: single line comment without consuming endline, disable EnsureNL by [@​msorc](https://github.com/msorc) in alecthomas/chroma#984 - Update the Materialize lexer by [@​arusahni](https://github.com/arusahni) in alecthomas/chroma#987 - chore(deps): update all non-major dependencies by [@​renovate](https://github.com/renovate) in alecthomas/chroma#985 - Add Gleam to README by [@​Nicd](https://github.com/Nicd) in alecthomas/chroma#990 - Port Minecraft lexers from Pygments by [@​kofuk](https://github.com/kofuk) in alecthomas/chroma#992 - Don't output extra whitespace in YAML multiline by [@​Gusted](https://github.com/Gusted) in alecthomas/chroma#993 - chore(deps): update all non-major dependencies by [@​renovate](https://github.com/renovate) in alecthomas/chroma#991 - add beef syntax and tests by [@​Booklordofthedings](https://github.com/Booklordofthedings) in alecthomas/chroma#995 - Update GitHub light color palette by [@​konradreiche](https://github.com/konradreiche) in alecthomas/chroma#998 - chore(deps): update module github.com/alecthomas/kong to v1 by [@​renovate](https://github.com/renovate) in alecthomas/chroma#999 - Update the Materialize lexer by [@​arusahni](https://github.com/arusahni) in alecthomas/chroma#1001 - Update TypeScript lexer to allow nested generics by [@​fredrare](https://github.com/fredrare) in alecthomas/chroma#1002 - Pager friendly terminal formatting by [@​walles](https://github.com/walles) in alecthomas/chroma#1006 - chore(deps): update all non-major dependencies by [@​renovate](https://github.com/renovate) in alecthomas/chroma#997 - Add Typst Lexer by [@​oliverpool](https://github.com/oliverpool) in alecthomas/chroma#1007 - Add Jsonnet Lexer by [@​jolheiser](https://github.com/jolheiser) in alecthomas/chroma#1011 - fix: add underscore parsing in numbers for haskell by [@​Gusted](https://github.com/Gusted) in alecthomas/chroma#1020 - Add CSV lexer by [@​walles](https://github.com/walles) in alecthomas/chroma#1005 - fix(typescript): highlight string literal type parameters by [@​SKalt](https://github.com/SKalt) in alecthomas/chroma#1010 - add any as a builtin type for go by [@​quartercastle](https://github.com/quartercastle) in alecthomas/chroma#1021 - chore(deps): update all non-major dependencies by [@​renovate](https://github.com/renovate) in alecthomas/chroma#1013 - Remove whitespace tokenizing rule in markdown lexer by [@​cloudchamb3r](https://github.com/cloudchamb3r) in alecthomas/chroma#1008 - feat(JSON): support `.jsonc` extension by [@​CarterLi](https://github.com/CarterLi) in alecthomas/chroma#1022 - Add Eclipse ATL language (https://eclipse.dev/atl/) by [@​dwagelaar](https://github.com/dwagelaar) in alecthomas/chroma#1024 - Import NSIS Lexer from Pygments by [@​JakobDev](https://github.com/JakobDev) in alecthomas/chroma#1026 - chore(deps): update module github.com/alecthomas/kong to v1.5.1 by [@​renovate](https://github.com/renovate) in alecthomas/chroma#1025 - fix(nix): nix lexor missing '=' operator by [@​FlyingStitchman](https://github.com/FlyingStitchman) in alecthomas/chroma#1031 - Add WebVTT lexer ([#​707](alecthomas/chroma#707)) by [@​dschuessler](https://github.com/dschuessler) in alecthomas/chroma#1032 #### New Contributors - [@​comfysage](https://github.com/comfysage) made their first contribution in alecthomas/chroma#970 - [@​avih7531](https://github.com/avih7531) made their first contribution in alecthomas/chroma#977 - [@​wackbyte](https://github.com/wackbyte) made their first contribution in alecthomas/chroma#979 - [@​oliverpool](https://github.com/oliverpool) made their first contribution in alecthomas/chroma#982 - [@​DevDimov](https://github.com/DevDimov) made their first contribution in alecthomas/chroma#983 - [@​msorc](https://github.com/msorc) made their first contribution in alecthomas/chroma#984 - [@​Nicd](https://github.com/Nicd) made their first contribution in alecthomas/chroma#990 - [@​Booklordofthedings](https://github.com/Booklordofthedings) made their first contribution in alecthomas/chroma#995 - [@​konradreiche](https://github.com/konradreiche) made their first contribution in alecthomas/chroma#998 - [@​fredrare](https://github.com/fredrare) made their first contribution in alecthomas/chroma#1002 - [@​SKalt](https://github.com/SKalt) made their first contribution in alecthomas/chroma#1010 - [@​quartercastle](https://github.com/quartercastle) made their first contribution in alecthomas/chroma#1021 - [@​cloudchamb3r](https://github.com/cloudchamb3r) made their first contribution in alecthomas/chroma#1008 - [@​CarterLi](https://github.com/CarterLi) made their first contribution in alecthomas/chroma#1022 - [@​dwagelaar](https://github.com/dwagelaar) made their first contribution in alecthomas/chroma#1024 - [@​FlyingStitchman](https://github.com/FlyingStitchman) made their first contribution in alecthomas/chroma#1031 - [@​dschuessler](https://github.com/dschuessler) made their first contribution in alecthomas/chroma#1032 **Full Changelog**: alecthomas/chroma@v2.14.0...v2.15.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "* 0-3 * * *" (UTC), Automerge - "* 0-3 * * *" (UTC). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS45MC4wIiwidXBkYXRlZEluVmVyIjoiMzkuOTAuMCIsInRhcmdldEJyYW5jaCI6ImZvcmdlam8iLCJsYWJlbHMiOlsiZGVwZW5kZW5jeS11cGdyYWRlIiwidGVzdC9ub3QtbmVlZGVkIl19--> Co-authored-by: Gusted <postmaster@gusted.xyz> Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6477 Reviewed-by: Gusted <gusted@noreply.codeberg.org> Co-authored-by: Renovate Bot <forgejo-renovate-action@forgejo.org> Co-committed-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
DennisRasey
pushed a commit
to DennisRasey/forgejo
that referenced
this pull request
Jan 15, 2025
…jo) (#6553) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/alecthomas/chroma/v2](https://github.com/alecthomas/chroma) | require | minor | `v2.14.0` -> `v2.15.0` | --- ### Release Notes <details> <summary>alecthomas/chroma (github.com/alecthomas/chroma/v2)</summary> ### [`v2.15.0`](https://github.com/alecthomas/chroma/releases/tag/v2.15.0) [Compare Source](alecthomas/chroma@v2.14.0...v2.15.0) #### What's Changed - AQL: Add builtin functions introduced in v3.12 by [@​Simran-B](https://github.com/Simran-B) in alecthomas/chroma#968 - chore(styles): add evergarden inspired style by [@​comfysage](https://github.com/comfysage) in alecthomas/chroma#970 - chore(deps): update dependency svu to v2 by [@​renovate](https://github.com/renovate) in alecthomas/chroma#971 - chore(deps): update dependency watchexec to v2 by [@​renovate](https://github.com/renovate) in alecthomas/chroma#962 - chore(deps): update all non-major dependencies by [@​renovate](https://github.com/renovate) in alecthomas/chroma#955 - styles: Fix Gleam alias by [@​jmooring](https://github.com/jmooring) in alecthomas/chroma#973 - chore(deps): update all non-major dependencies by [@​renovate](https://github.com/renovate) in alecthomas/chroma#974 - chore(deps): update dependency python3 to v3.12.3 by [@​renovate](https://github.com/renovate) in alecthomas/chroma#976 - added the nordic theme via chroma/styles/nordic.xml by [@​avih7531](https://github.com/avih7531) in alecthomas/chroma#977 - Update the Materialize lexer by [@​arusahni](https://github.com/arusahni) in alecthomas/chroma#978 - feat(lexers/hare): add done keyword by [@​wackbyte](https://github.com/wackbyte) in alecthomas/chroma#979 - pygments2chroma: escape regex.words by [@​oliverpool](https://github.com/oliverpool) in alecthomas/chroma#982 - chore(deps): update all non-major dependencies by [@​renovate](https://github.com/renovate) in alecthomas/chroma#981 - Add JSONata Lexer by [@​DevDimov](https://github.com/DevDimov) in alecthomas/chroma#983 - Go lexer: single line comment without consuming endline, disable EnsureNL by [@​msorc](https://github.com/msorc) in alecthomas/chroma#984 - Update the Materialize lexer by [@​arusahni](https://github.com/arusahni) in alecthomas/chroma#987 - chore(deps): update all non-major dependencies by [@​renovate](https://github.com/renovate) in alecthomas/chroma#985 - Add Gleam to README by [@​Nicd](https://github.com/Nicd) in alecthomas/chroma#990 - Port Minecraft lexers from Pygments by [@​kofuk](https://github.com/kofuk) in alecthomas/chroma#992 - Don't output extra whitespace in YAML multiline by [@​Gusted](https://github.com/Gusted) in alecthomas/chroma#993 - chore(deps): update all non-major dependencies by [@​renovate](https://github.com/renovate) in alecthomas/chroma#991 - add beef syntax and tests by [@​Booklordofthedings](https://github.com/Booklordofthedings) in alecthomas/chroma#995 - Update GitHub light color palette by [@​konradreiche](https://github.com/konradreiche) in alecthomas/chroma#998 - chore(deps): update module github.com/alecthomas/kong to v1 by [@​renovate](https://github.com/renovate) in alecthomas/chroma#999 - Update the Materialize lexer by [@​arusahni](https://github.com/arusahni) in alecthomas/chroma#1001 - Update TypeScript lexer to allow nested generics by [@​fredrare](https://github.com/fredrare) in alecthomas/chroma#1002 - Pager friendly terminal formatting by [@​walles](https://github.com/walles) in alecthomas/chroma#1006 - chore(deps): update all non-major dependencies by [@​renovate](https://github.com/renovate) in alecthomas/chroma#997 - Add Typst Lexer by [@​oliverpool](https://github.com/oliverpool) in alecthomas/chroma#1007 - Add Jsonnet Lexer by [@​jolheiser](https://github.com/jolheiser) in alecthomas/chroma#1011 - fix: add underscore parsing in numbers for haskell by [@​Gusted](https://github.com/Gusted) in alecthomas/chroma#1020 - Add CSV lexer by [@​walles](https://github.com/walles) in alecthomas/chroma#1005 - fix(typescript): highlight string literal type parameters by [@​SKalt](https://github.com/SKalt) in alecthomas/chroma#1010 - add any as a builtin type for go by [@​quartercastle](https://github.com/quartercastle) in alecthomas/chroma#1021 - chore(deps): update all non-major dependencies by [@​renovate](https://github.com/renovate) in alecthomas/chroma#1013 - Remove whitespace tokenizing rule in markdown lexer by [@​cloudchamb3r](https://github.com/cloudchamb3r) in alecthomas/chroma#1008 - feat(JSON): support `.jsonc` extension by [@​CarterLi](https://github.com/CarterLi) in alecthomas/chroma#1022 - Add Eclipse ATL language (https://eclipse.dev/atl/) by [@​dwagelaar](https://github.com/dwagelaar) in alecthomas/chroma#1024 - Import NSIS Lexer from Pygments by [@​JakobDev](https://github.com/JakobDev) in alecthomas/chroma#1026 - chore(deps): update module github.com/alecthomas/kong to v1.5.1 by [@​renovate](https://github.com/renovate) in alecthomas/chroma#1025 - fix(nix): nix lexor missing '=' operator by [@​FlyingStitchman](https://github.com/FlyingStitchman) in alecthomas/chroma#1031 - Add WebVTT lexer ([#​707](alecthomas/chroma#707)) by [@​dschuessler](https://github.com/dschuessler) in alecthomas/chroma#1032 #### New Contributors - [@​comfysage](https://github.com/comfysage) made their first contribution in alecthomas/chroma#970 - [@​avih7531](https://github.com/avih7531) made their first contribution in alecthomas/chroma#977 - [@​wackbyte](https://github.com/wackbyte) made their first contribution in alecthomas/chroma#979 - [@​oliverpool](https://github.com/oliverpool) made their first contribution in alecthomas/chroma#982 - [@​DevDimov](https://github.com/DevDimov) made their first contribution in alecthomas/chroma#983 - [@​msorc](https://github.com/msorc) made their first contribution in alecthomas/chroma#984 - [@​Nicd](https://github.com/Nicd) made their first contribution in alecthomas/chroma#990 - [@​Booklordofthedings](https://github.com/Booklordofthedings) made their first contribution in alecthomas/chroma#995 - [@​konradreiche](https://github.com/konradreiche) made their first contribution in alecthomas/chroma#998 - [@​fredrare](https://github.com/fredrare) made their first contribution in alecthomas/chroma#1002 - [@​SKalt](https://github.com/SKalt) made their first contribution in alecthomas/chroma#1010 - [@​quartercastle](https://github.com/quartercastle) made their first contribution in alecthomas/chroma#1021 - [@​cloudchamb3r](https://github.com/cloudchamb3r) made their first contribution in alecthomas/chroma#1008 - [@​CarterLi](https://github.com/CarterLi) made their first contribution in alecthomas/chroma#1022 - [@​dwagelaar](https://github.com/dwagelaar) made their first contribution in alecthomas/chroma#1024 - [@​FlyingStitchman](https://github.com/FlyingStitchman) made their first contribution in alecthomas/chroma#1031 - [@​dschuessler](https://github.com/dschuessler) made their first contribution in alecthomas/chroma#1032 **Full Changelog**: alecthomas/chroma@v2.14.0...v2.15.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - "* 0-3 * * *" (UTC). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMDYuMCIsInVwZGF0ZWRJblZlciI6IjM5LjEwNi4wIiwidGFyZ2V0QnJhbmNoIjoidjEwLjAvZm9yZ2VqbyIsImxhYmVscyI6WyJkZXBlbmRlbmN5LXVwZ3JhZGUiLCJ0ZXN0L25vdC1uZWVkZWQiXX0=--> Co-authored-by: viceice <michael.kriese@gmx.de> Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6553 Reviewed-by: Michael Kriese <michael.kriese@gmx.de> Co-authored-by: Renovate Bot <forgejo-renovate-action@forgejo.org> Co-committed-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.25.1
->2.1.1
Release Notes
watchexec/watchexec (watchexec)
v2.1.1
: CLI v2.1.1-w, --watch
was accidentally set to behave as-W
(#828)v2.1.0
: CLI v2.1.0-W
,--watch-non-recursive
for watching paths without also watching subfolders..git
is a file rather than a folder)v2.0.0
: CLI v2.0.0This is the first breaking release. Most of it is cleaning up a number of deprecated options, and changing some defaults. The idea, however, is to start a new era of Watchexec releases, where breaking changes are allowed more easily (to give an idea of how breaking-change-averse the project has been: this release was planned in January 2022! and ever-delayed since).
Fear not! The cadence of breaking releases will be at most once or twice a year, and whenever possible a deprecation will precede a break by at least three months. Watchexec will remain a stable part of your workflow, while allowing ourselves some evolution.
$SHELL
when it is present. (#210)Use
--shell=sh
to switch back if your$SHELL
is something else.Use
--shell=cmd
to switch back to CMD.EXE, or set theSHELL
environment variable.A reminder that Windows 7 is not supported, and hasn't been for years.
--on-busy-update
defaults todo-nothing
now (wasqueue
).Events received while a command is running won't trigger a run of the command immediately following this one.
-W
/--watch-when-idle
is removed, as it is now the default.--stop-timeout
is now 10 seconds.--debounce
,--delay-run
,--poll
, and--stop-timeout
now prefer durations with a unit, and warn if given unit-less durations. The default units for these are millisecond for--debounce
and--poll
, and seconds for--delay-run
and--stop-timeout
, which is a source of confusion. Unit-less durations will be removed in a future breaking release.--no-shell
is removed.Use
--shell=none
instead. The-n
short option remains as an alias to--shell=none
.-k
/--kill
is removed.Use
--signal=KILL
instead.--changes-only
is removed.Use
--print-events
instead.--emit-events-to
defaults tonone
, and theenvironment
mode is deprecated.--emit-events-to
no longer acceptsstdin
(deprecated alias forstdio
) andjson-stdin
(deprecated alias forjson-stdio
).--no-ignore
is removed.Use
--no-project-ignore
instead.--no-environment
is deprecated.--clear=reset
will reset the screen on graceful shutdown. (#797)--no-process-group
is deprecated.WATCHEXEC_FILTERER
environment variable.Improvements
--wrap-process=MODE
lets you choose between using process groups, process sessions, or nothing at all. (#794)WATCHEXEC_TMPDIR
environment variable can be used to customize where Watchexec will write temporary files, if for some reason your$TMPDIR
is unwritable. (#814)Experimental new feature
As a treat, this release also features an experimental new option:
-j
or--filter-prog
, which lets you write filter programs.-j
,--filter-prog EXPRESSION
Provide your own custom filter programs in jaq (similar to jq) syntax. Programs are given an event in the same format as described in
--emit-events-to
and must return a boolean. In addition to the jaq stdlib, watchexec adds some custom filter definitions:path | file_meta
returns file metadata or null if the file does not exist.path | file_size
returns the size of the file at path, or null if it does not exist.path | file_read(bytes)
returns a string with the first n bytes of the file at path. If the file is smaller than n bytes, the whole file is returned. There is no filter to read the whole file at once to encourage limiting the amount of data read and processed.string | hash
, andpath | file_hash
return the hash of the string or file at path. No guarantee is made about the algorithm used: treat it as an opaque value.any | kv_store(key)
,kv_fetch(key)
, andkv_clear
provide a simple key-value store. Data is kept in memory only, there is no persistence. Consistency is not guaranteed.any | printout
,any | printerr
, andany | log(level)
will print or log any given value to stdout, stderr, or the log (levels = error, warn, info, debug, trace), and pass the value through (so[1] | log("debug") | .[]
will produce a1
and log[1]
).All filtering done with such programs, and especially those using kv or filesystem access, is much slower than the other filtering methods. If filtering is too slow, events will back up and stall watchexec. Take care when designing your filters.
If the argument to this option starts with an '@', the rest of the argument is taken to be the path to a file containing a jaq program.
Jaq programs are run in order, after all other filters, and short-circuit: if a filter (jaq or not) rejects an event, execution stops there, and no other filters are run. Additionally, they stop after outputting the first value, so you'll want to use 'any' or 'all' when iterating, otherwise only the first item will be processed, which can be quite confusing!
Examples:
Regexp ignore filter on paths:
Pass any event that creates a file:
Pass events that touch executable files:
Ignore files that start with shebangs:
More examples can be found and contributed in the discussion thread
Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.